<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>成品发货单据</title>

    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/demo/demo.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/bootstrap/easyui.css">
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/jquery.min.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-edatagrid/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/datagrid-filter/datagrid-filter.js"></script>

    <script type="text/javascript" src="../../../publicJS/publicJS.js" ></script>
    <link rel="stylesheet" type="text/css" href="../../../publicJS/global.css" />

    <style type="text/css">
        .datagrid button,
        .datagrid input,
        .datagrid optgroup,
        .datagrid select,
        .datagrid textarea {
            color: black;
        }
    </style>

    <script src="../../js/cpfhbillprint.js" type="text/javascript"></script>
    <link href="../../css/cpfhbillprint.css" type="text/css" rel="stylesheet" >
    <!--    /*设置文本框，拉下字体*/-->
    <link href="../../css/settextbox.css" type="text/css" rel="stylesheet" >
    <script src="../../js/loadEventUtil.js" type="text/javascript"></script>

</head>
<body>

<div class="plan_main">
    <div class="plan_top">
        <div id="topfhd" style="width: 60%;float: left;">
        <a id="updatefhd" href="#" class="easyui-linkbutton" onclick="updatebill()"
           data-options="iconCls:'icon-reload',iconAlign:'left',width:100">修改单据</a>
        <a id="Savefhd" href="#" class="easyui-linkbutton" onclick="savebill()"
           data-options="iconCls:'icon-save',iconAlign:'left',width:100">保存单据</a>
        <a id="accountfhd" href="#" class="easyui-linkbutton" onclick="accountfhd()"
            data-options="iconCls:'icon-edit',iconAlign:'left',width:120">调整发货单</a>
        <a id="printfhd" href="#" class="easyui-linkbutton" onclick="printbillfhd()"
           data-options="iconCls:'icon-print',iconAlign:'left',width:120">打印发货单</a>
        <a id="deletefhd" href="#" class="easyui-linkbutton" onclick="deletebillfhd()"
           data-options="iconCls:'icon-cancel',iconAlign:'left',width:100">作废单据</a>
        <a id="closeplan" href="#" class="easyui-linkbutton" onclick="closeTab()"
           data-options="iconCls:'icon-no',iconAlign:'left',width:80">关闭</a>
        </div>
        <div style="width: 40%;float: left;">
            <img id="savedB" src="../../../img/tools/stateicon/已保存.jpg" style="width:90px;height:30px;"/>
            <img id="auditedB" src="../../../img/tools/stateicon/已审核.jpg" style="width:90px;height:30px;"/>
            <img id="invalidB" src="../../../img/tools/stateicon/已作废.jpg" style="width:90px;height:30px;"/>
        </div>

    </div>
    <div class="plan_top">
        <label>单据编号:</label>
        <input  id="billCode" class="easyui-textbox"  data-options="limitToList:'true',required:'true'"
                style="height:35px;width:200px">
        <label>客户:</label>
        <input  id="clientName" class="easyui-combobox"  data-options="limitToList:'true',required:'true'"
                style="height:35px;width:200px">
    </div>

    <div class="plan_text">
        <div class="text_left">
            <table id="billmain" style="width:100%;height:100%"></table>
        </div>
    </div>

    <div class="plan_bottom">
        <!--        <br/>-->
        <label>驾驶员:</label>
        <input  id="driver" class="easyui-textbox"  data-options=""  style="height:35px;width:200px">
        <label>车牌号:</label>
        <input  id="license_number" class="easyui-textbox"  data-options=""  style="height:35px;width:200px">
        <label>经手人:</label>
        <input  id="brokerage" class="easyui-combobox"  data-options=""  style="height:35px;width:200px">
        <label>发货备注:</label>
        <input  id="remark" class="easyui-textbox"  data-options=""  style="height:35px;width:400px">
    </div>

</div>

<div id="C" class="easyui-window" title="编辑页面"
     style="width:330px;height:260px;padding:10px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,
                       closed:true,draggable:true">
    <br>
    <label style="font-size: 14px;font-weight: bold;">作废原因：</label>
    <input id="tovoidMemo" class="easyui-textbox" data-options="multiline:'true',required:'true'" style="height:70px;width:200px">
    <br><br>
    <label style="font-size: 14px;font-weight: bold;">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
    <input id="pass" class="easyui-passwordbox" data-options="multiline:'true',required:'true'" style="height:30px;width:200px">
    <br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input onclick="tovoidMemoSaveC()" class="numberbuttonY" type="button" value="保存"
           style="height: 35px;width: 90px">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input onclick="tovoidMemocancelC()" class="numberbuttonY" type="button" value="取消"
           style="height: 35px;width: 90px">
</div>

<div id="A" class="easyui-window" title="调整发货单"
     style="width:330px;height:230px;padding:10px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,closable:true,
                       closed:true,draggable:true">
    <br>
    <label style="font-size: 14px;font-weight: bold;">单&nbsp;&nbsp;&nbsp;价：</label>
    <input id="priceA" class="easyui-textbox" data-options="multiline:'true',required:'true'" style="height:30px;width:200px">
    <br><br>
    <label style="font-size: 14px;font-weight: bold;">调整重：</label>
        <input id="accountqtyA" class="easyui-textbox" data-options="multiline:'true',required:'true'" style="height:30px;width:200px">
    <br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input onclick="SaveaccountqtyA()" class="numberbuttonY" type="button" value="保存"
           style="height: 35px;width: 90px">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input onclick="cancelaccountqtyA()" class="numberbuttonY" type="button" value="取消"
           style="height: 35px;width: 90px">
</div>


</body>
</html>